package com.xianbeiying.app.ckgl.bean;

import java.util.List;

/**
 * 查询周期和智能计划
 */
public class QueZQBean{
    /**
     * K : QUERY_CYCLEPLANS
     * V : {"PLANS":[{"GROUPID":"0","SYSTEMID":18838586676482,"DEVID":0,"DEVCTRLID":0,"DEVTYPE":1,"STATUS":1,"DURATION":8,"BEGINTIME":"2016-09-11 17:23","ENDTIME":"2016-09-11 17:31","PEROID":1}]}
     * R : true
     * ERR_MSG :
     */
    private String K;
    private VBean V;
    private boolean R;
    private String ERR_MSG;

    public String getK() {
        return K;
    }

    public void setK(String K) {
        this.K = K;
    }

    public VBean getV() {
        return V;
    }

    public void setV(VBean V) {
        this.V = V;
    }

    public boolean isR() {
        return R;
    }

    public void setR(boolean R) {
        this.R = R;
    }

    public String getERR_MSG() {
        return ERR_MSG;
    }

    public void setERR_MSG(String ERR_MSG) {
        this.ERR_MSG = ERR_MSG;
    }

    public static class VBean {
        /**
         * GROUPID : 0
         * SYSTEMID : 18838586676482
         * DEVID : 0
         * DEVCTRLID : 0
         * DEVTYPE : 1
         * STATUS : 1
         * DURATION : 8
         * BEGINTIME : 2016-09-11 17:23
         * ENDTIME : 2016-09-11 17:31
         * PEROID : 1
         */

        private List<PLANSBean> PLANS;

        public List<PLANSBean> getPLANS() {
            return PLANS;
        }

        public void setPLANS(List<PLANSBean> PLANS) {
            this.PLANS = PLANS;
        }

        public static class PLANSBean {
            private String GROUPID;
            private long SYSTEMID;
            private int DEVID;
            private int DEVCTRLID;
            private int DEVTYPE;
            private int STATUS;
            private int DURATION;
            private String BEGINTIME;
            private String ENDTIME;
            private int PEROID;

            public String getGROUPID() {
                return GROUPID;
            }

            public void setGROUPID(String GROUPID) {
                this.GROUPID = GROUPID;
            }

            public long getSYSTEMID() {
                return SYSTEMID;
            }

            public void setSYSTEMID(long SYSTEMID) {
                this.SYSTEMID = SYSTEMID;
            }

            public int getDEVID() {
                return DEVID;
            }

            public void setDEVID(int DEVID) {
                this.DEVID = DEVID;
            }

            public int getDEVCTRLID() {
                return DEVCTRLID;
            }

            public void setDEVCTRLID(int DEVCTRLID) {
                this.DEVCTRLID = DEVCTRLID;
            }

            public int getDEVTYPE() {
                return DEVTYPE;
            }

            public void setDEVTYPE(int DEVTYPE) {
                this.DEVTYPE = DEVTYPE;
            }

            public int getSTATUS() {
                return STATUS;
            }

            public void setSTATUS(int STATUS) {
                this.STATUS = STATUS;
            }

            public int getDURATION() {
                return DURATION;
            }

            public void setDURATION(int DURATION) {
                this.DURATION = DURATION;
            }

            public String getBEGINTIME() {
                return BEGINTIME;
            }

            public void setBEGINTIME(String BEGINTIME) {
                this.BEGINTIME = BEGINTIME;
            }

            public String getENDTIME() {
                return ENDTIME;
            }

            public void setENDTIME(String ENDTIME) {
                this.ENDTIME = ENDTIME;
            }

            public int getPEROID() {
                return PEROID;
            }

            public void setPEROID(int PEROID) {
                this.PEROID = PEROID;
            }
        }
    }
}
